
/*The following code replicates the analyses reported in:*/
/*Boushey, Graeme. ``Targeted for Diffusion? How the Use and Acceptance of Stereotypes Shape the Diffusion of Criminal Justice Policy Innovations in the American States.''\emph{American Political Science Review}.*/

/*Stata Replication Data: Boushey_APSR2016rep.dta*/

/*TABLE 2 MODELS*/
/*Create Table 2, Model 1 .  Policy Congruence Electoral Cycle Only*/

logit dvadopt policycongruent gub_election elect2 fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3, cluster(styear)

/*Create Table 2, Model 2 .  Policy Congruence with Electoral Competition Measure*/

logit dvadopt policycongruent gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3, cluster(styear)

/*Create Table 2 Column 3. The Mechanisms of Congruent Policy Diffusion*/

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 if policycongruent==1, cluster(styear)

/*Create Table 2 Column 4. The Mechanisms of Noncongruent Policy Diffusion*/

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 if policycongruent==0, cluster(styear)

/*Create Table 2 Column 5: Interacted Model for Split Sample Tests*/

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 gub_electcong elect2cong hvd_cong fedcong leg_dem_con dem_govcong insessioncong propneighcong citidistcong squirecong citicong crimespendcong crimespendcongsq violentthousandcong pctwhitecong stateinccong logpopcong countercong counter2cong counter3cong policycongruent, cluster(styear)

/*TABLE 3 MODELS*/
/*Create Table 3, Model 1 with all forms of policy design in model.  Note that Burden Deviants is the Reference Category*/

logit dvadopt benadv bendep bencont bendev burdadv burddep gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3, cluster(styear)

/*Create Table 3, Model 2. */

logit dvadopt benadv gub_election elect2 hvd_4yr fedcrime  leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3, cluster(styear)

/*Create Table 3, Model 3. */

logit dvadopt bendep gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3, cluster(styear)

/*Create Table 3, Model 4. */

logit dvadopt bencont gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3, cluster(styear)

/*Create Table 3, Model 5. */

logit dvadopt bendev gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3, cluster(styear)

/*Create Table 3, Model 6. */

logit dvadopt burdadv gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3, cluster(styear)

/*Create Table 3, Model 7. */

logit dvadopt burddep gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3, cluster(styear)

/*Create Table 3, Model 8. */

logit dvadopt burddev gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3, cluster(styear)

/*TABLE 4 MODELS*/
/*Benefits Splits (Models 1-4 Table 4, Columns 1-4 Appendix A*/

/*Create Table 4, Model 1*/
/*Benefits Advantaged Splits*/

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 if benadv==1, cluster(styear)

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 if benadv==0, cluster(styear)

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 gub_electbenadv elect2benadv hvd_benadv fedbenadv leg_dem_benadv dem_govbenadv insessionbenadv propneighbenadv citidistbenadv squirebenadv citibenadv crimespendbenadv crimespendbenadvsq violentthousandbenadv pctwhitebenadv stateincbenadv logpopbenadv counterbenadv counter2benadv counter3benadv benadv, cluster(styear)

/*Create Table 4, Model 2*/
/*Benefits Dependent Splits*/

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 if bendep==1, cluster(styear)

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 if bendep==0, cluster(styear)

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 gub_electbendep elect2bendep hvd_bendep fedbendep leg_dem_bendep dem_govbendep insessionbendep propneighbendep citidistbendep squirebendep citibendep crimespendbendep crimespendbendepsq violentthousandbendep pctwhitebendep stateincbendep logpopbendep counterbendep counter2bendep counter3bendep bendep, cluster(styear)

/*Create Table 4, Model 3*/
/*Benefits Contender Splits*/

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 if bencont==1, cluster(styear)

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 if bencont==0, cluster(styear)

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 gub_electbencont elect2bencont hvd_bencont fedbencont leg_dem_bencont dem_govbencont insessionbencont propneighbencont citidistbencont squirebencont citibencont crimespendbencont crimespendbencontsq violentthousandbencont pctwhitebencont stateincbencont logpopbencont counterbencont counter2bencont counter3bencont bencont, cluster(styear)

/*Create Table 4, Model 4*/
/*Benefits Deviants Splits*/

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 if bendev==1, cluster(styear)

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 if bendev==0, cluster(styear)

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 gub_electbendev elect2bendev hvd_bendev fedbendev  leg_dem_bendev dem_govbendev insessionbendev propneighbendev citidistbendev squirebendev citibendev crimespendbendev crimespendbendevsq violentthousandbendev pctwhitebendev stateincbendev logpopbendev counterbendev counter2bendev counter3bendev bendev, cluster(styear)

/*Burdens Splits (Models 5-7 Table 4, Columns 5-7 Appendix A*/

/*Create Table 4, Model 5*/
/*Burdens Advantaged Splits*/

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 if burdadv==1, cluster(styear)

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 if burdadv==0, cluster(styear)

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 gub_electburdadv elect2burdadv hvd_burdadv fedburdadv leg_dem_burdadv dem_govburdadv insessionburdadv propneighburdadv citidistburdadv squireburdadv citiburdadv crimespendburdadv crimespendburdadvsq violentthousandburdadv pctwhiteburdadv stateincburdadv logpopburdadv counterburdadv counter2burdadv counter3burdadv burdadv, cluster(styear)

/*Create Table 4, Model 6*/
/*Burden Dependents Splits*/

logit dvadopt gub_election elect2 hvd_4yr fedcrime  leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 if burddep==1, cluster(styear)

logit dvadopt gub_election elect2 hvd_4yr fedcrime  leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 if burddep==0, cluster(styear)

logit dvadopt gub_election elect2 hvd_4yr fedcrime  leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 gub_electburddep elect2burddep hvd_burddep fedburddep leg_dem_burddep dem_govburddep insessionburddep propneighburddep citidistburddep squireburddep citiburddep crimespendburddep crimespendburddepsq violentthousandburddep pctwhiteburddep stateincburddep logpopburddep counterburddep counter2burddep counter3burddep burddep, cluster(styear)

/*Create Table 4, Model 7*/
/*Burden Deviants Splits*/

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 if burddev==1, cluster(styear)

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 if burddev==0, cluster(styear)

logit dvadopt gub_election elect2 hvd_4yr fedcrime leg_dem_per_2pty dem_governor insession propneighpol citidist squire_prof86 citi6008 crimespendpc crimespendpcsq violentthousand pctwhite stateincpercap logpop counter counter2 counter3 gub_electburddev elect2burddev hvd_burddev fedburddev leg_dem_burddev dem_govburddev insessionburddev propneighburddev citidistburddev squireburddev citiburddev crimespendburddev crimespendburddevsq violentthousandburddev pctwhiteburddev stateincburddev logpopburddev counterburddev counter2burddev counter3burddev burddev, cluster(styear)



